import { IsString, IsOptional,IsNumber } from 'class-validator';
import { FindOperator } from 'typeorm';
export class QueryPostDto {
    @IsString()
    @IsOptional()
    post_code?: FindOperator<string>;

    @IsString()
    @IsOptional()
    post_name?: FindOperator<string>;

    @IsOptional()
    status?: string;

    @IsNumber()
    pageSize:number

    @IsNumber()
    pageNum:number
}